package com.itheima.loop;

public class BreakandContinueDemo1 {
    public static void main(String[] args) {
        for (int i = 1; i < 5; i++) {
            System.out.println("我爱你" + i);
            if (i == 3) {
                break;
            }
        }
    }
}
